﻿@model IEnumerable<cyq_dnetmvc.Models.topictable>

@{
    ViewBag.Title = "目录";
}
<div class="cwc-catalog-wrapper">
    <h2>目次</h2>
    <div class="cwc-catalog">
        <ul>
            @foreach (var item in Model)
            { 
                <li>
                    <a href="@Url.Action("ChatRoom", "CwC", new { id = item.topic_id })">
                        @item.topic_name
                    </a>
                </li>
            }
        </ul>
    </div>
    <p class="tips" style="margin:15px 0px;">[小鹿叔]版权所有</p>
    <p class="tips">★本漫画纯属虚构</p>
    <p class="tips">内容全部来自系统bug，与小鹿叔无关</p>
</div>
<div class="cwc-catalog-back">
</div>

@section scripts{
    <script type="text/javascript">
        require(["jqueryv5", "iscroll5"], function ($, IScroll) {
            $(function () {
                var myScroll = new IScroll('.cwc-catalog', {
                    click: true
                });
            });
        });
    </script>
}

